﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NewStartHanldingUI.Login
{
    public delegate void BusinessSystemBaseEventHanlder(object sender, LoginEventHandlerArgs e);
    public interface ILogin
    {
        /// <summary>
        /// 账户
        /// </summary>
        string UserCode { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        string Password { get; set; }
        /// <summary>
        /// 账套
        /// </summary>
        string Company { get; set; }
        /// <summary>
        /// 语言
        /// </summary>
        string Language { get; set; }
        /// <summary>
        /// 登陆机器名称
        /// </summary>
        string LoginMachineName { get; set; }
        /// <summary>
        /// 登陆IP地址
        /// </summary>
        string LoginMachineIP { get; set; }
        /// <summary>
        /// 登陆事件
        /// </summary>
        event BusinessSystemBaseEventHanlder LoginEvent;
        /// <summary>
        /// 登陆方法
        /// </summary>
        string myLogin();
    }
}
